package com.yanyu.space.sys.bean.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum SysRabbitEnum {
    DEMO("space.demo.queue", "space.demo.exchange", "space.demo.binding"),
    DEAL("space.deal.queue", "space.demo.exchange", "space.deal.binding"),
    ;

    /**
     * 队列
     */
    private String queue;

    /**
     * 交换器
     */
    private String exchange;

    /**
     * 绑定
     */
    private String binding;

    @Override
    public String toString() {
        return this.binding;
    }
}
